﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace IWMAG.Core.Objects {
    public interface IHitbox {
        Vector2 Origin { get; set; }

        IEnumerable<Vector2> GetPoints();
        bool Contains(Vector2 a);
        bool CollidesWith(IHitbox a);
        void Update(Vector2 pos);

        void Shift(Vector2 rel);
        IHitbox Add(Vector2 rel);
    }
}
